//
//  WPCThemesInfo.h
//  Wallpaper.co
//
//  Created by zhou_yuepeng on 2017/9/4.
//  Copyright © 2017年 www.dahuatech.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JSONModel.h"

@interface WPCThemesModel : NSObject
@property (nonatomic, copy)     NSString    *tag;
@property (nonatomic, assign)   NSInteger    totalPage;
@property (nonatomic, assign)   NSInteger    itemsCount;
@property (nonatomic, strong)   NSMutableArray *pages;
@end

@interface WPCThemesPageModel : NSObject
@property (nonatomic, assign)   NSInteger    page;
@property (nonatomic, strong)   NSArray     *items;

- (instancetype)initWithPage:(NSInteger)page andItems:(NSArray*)items;
@end

@interface WPCThemesItem : JSONModel
@property (nonatomic, copy)     NSString    *title;
@property (nonatomic, copy)     NSArray     *thumbnail;
@property (nonatomic, assign)   NSInteger    totalpage;
@property (nonatomic, assign)   NSInteger    count;
@property (nonatomic, copy)     NSString    *viewcount;

@property (nonatomic, copy)     NSURL<Optional> *thumbnailURL;
@property (nonatomic, copy)     NSURL<Optional> *originalPicURL;
@property (nonatomic, assign)   NSNumber<Optional>  *isFavorite;
@end
